//
//  UIView+Ex.h
//  WeiBo_OC
//
//  Created by MacBook Pro on 16/5/24.
//  Copyright © 2016年 MacBook Pro. All rights reserved.
//

#import <UIKit/UIKit.h>

@interface UIView (Ex)

@property (nonatomic, assign) CGFloat x;
@property (nonatomic, assign) CGFloat y;
@property (nonatomic, assign) CGFloat width;
@property (nonatomic, assign) CGFloat height;

@property (nonatomic, assign) IBInspectable CGFloat cornerRadius;
@property (nonatomic, assign) IBInspectable CGFloat borderWidth;
@property (nonatomic, strong) IBInspectable UIColor *borderColor;
- (CGFloat)getScreenWidth;
- (CGFloat)getScreenHeight;
- (CGFloat)getScale;
@end
